 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DllDezzerDev
{
    public class Venue
    {
        #region champs
        private string _id = "0";
        private string _name = "défaut";
        private string _url = "http://www.last.fm/venue/";
        private string _website = "http://google.com";
        private string _phoneNumber = "000-000-0000";
        public Localisation _localisation = new Localisation();
        #endregion


        #region propriétés
        public string id
        {
            get { return _id; }
            set { _id = value; }
        }        
        public string name
        {
            get { return _name; }
            set { _name = value; }
        }       
        public string url
        {
            get { return _url; }
            set { _url = value; }
        }     
        public string website
        {
            get { return _website; }
            set { _website = value; }
        }        
        public string phoneNumber
        {
            get { return _phoneNumber; }
            set { _phoneNumber = value; }
        }
        public Localisation localisation
        {
            get { return _localisation; }
            set { _localisation = value; }
        } 
        #endregion


        #region Constructeurs
        public Venue()
        {
        }

        public Venue(string id,string name, string website,string phoneNumber,Localisation localisation)
        {
            this.id = id;
            this.name = name;
            this.url = "http://www.last.fm/venue/" + this.id + "+" + this.name.Replace(" ","+");
            this.website = website;
            this.phoneNumber = phoneNumber;
            this.localisation = localisation;
        }
        


        #endregion


    }
}
